Item
Ecng.ComponentModel.Stat`1
Represents an item that tracks the duration of an action.
継承元: Disposable
コンストラクター
Item
internal Item(Stat<TAction> parent, TAction action, IPAddress address, Stopwatch watch)
item = Item(parent, action, address, watch)
Initializes a new instance of the Item class.
- parent
- The parent statistic instance.
- action
- The action being tracked.
- address
- The IP address associated with the action.
- watch
- The stopwatch tracking the action duration.
メソッド
DisposeManaged
protected override void DisposeManaged()
item.DisposeManaged()
Disposes the current tracking item and updates the parent statistics.
フィールド
Address
internal readonly IPAddress Address
value = item.Address
Gets the IP address associated with the action.